package com.BookMate.service;

import com.BookMate.domain.Record;
import com.BookMate.domain.User;
import entity.PageResult;

/**
 * 借阅记录接口
 */
public interface RecordService {
    Integer addRecord(Record record);//新增借阅记录
    PageResult searchRecords(Record record, User user, Integer pageNum, Integer pageSize);//查询借阅记录
    PageResult searchRecords_name(Record record, User user, Integer pageNum, Integer pageSize);
}
